package com.study.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the t_area database table.
 * 
 */
@Entity
@Table(name="t_area")
@NamedQuery(name="TArea.findAll", query="SELECT t FROM TArea t")
public class TArea implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int areaid;

	private String areacode;

	private String areaname;

	private String center;

	private String citycode;

	private byte level;

	private int parentid;


	public TArea() {
	}

	public int getAreaid() {
		return this.areaid;
	}

	public void setAreaid(int areaid) {
		this.areaid = areaid;
	}


	public String getAreacode() {
		return this.areacode;
	}

	public void setAreacode(String areacode) {
		this.areacode = areacode;
	}

	public String getAreaname() {
		return this.areaname;
	}

	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	public String getCenter() {
		return this.center;
	}

	public void setCenter(String center) {
		this.center = center;
	}

	public String getCitycode() {
		return this.citycode;
	}

	public void setCitycode(String citycode) {
		this.citycode = citycode;
	}

	public byte getLevel() {
		return this.level;
	}

	public void setLevel(byte level) {
		this.level = level;
	}

	public int getParentid() {
		return this.parentid;
	}

	public void setParentid(int parentid) {
		this.parentid = parentid;
	}

}